package com.vivo.customer.dao;

import com.vivo.customer.entity.BuildingUnitHistory;
import com.vivo.customer.entity.BuildingUnitHistoryExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface BuildingUnitHistoryMapper {
    int countByExample(BuildingUnitHistoryExample example);

    int deleteByExample(BuildingUnitHistoryExample example);

    int deleteByPrimaryKey(String id);

    int insert(BuildingUnitHistory record);

    int insertSelective(BuildingUnitHistory record);

    List<BuildingUnitHistory> selectByExample(BuildingUnitHistoryExample example);

    BuildingUnitHistory selectByPrimaryKey(String id);

    int updateByExampleSelective(@Param("record") BuildingUnitHistory record, @Param("example") BuildingUnitHistoryExample example);

    int updateByExample(@Param("record") BuildingUnitHistory record, @Param("example") BuildingUnitHistoryExample example);

    int updateByPrimaryKeySelective(BuildingUnitHistory record);

    int updateByPrimaryKey(BuildingUnitHistory record);
}